﻿using Models.DTO;
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBLL
{
    public interface IOrderDetailBLL
    {
        List<GetOrderDetailDTO> GetOrderDetailDTO(int page, int limit, out int count);

        List<GetShopInfoDTO> GetOrderDetailH(int page, int limit, out int count);

        List<GetShopInfoDTO> GetOrderDetail(int page, int limit, string customerId, string orderId, out int count);

        bool DeleteOrderDetail(string id);

        bool CreateOrderDetail(OrderDetail prod, out string msg);

        bool DeleteListOrderDetail(List<string> ids);

        public bool UpdateOrderDetail(string productName, int purchaseNumber, string customerInfoId, int customerMonty, out string msg);

        OrderDetail GetOrderDetailById(string id);
    }
}
